﻿using System;
using UnityEditor;

public class IntDrawType : BaseDrawType
{
    public override Type type { get { return typeof(int); } }
    public override string Draw(string name, string arg)
    {
        int value ;
        int.TryParse(arg, out value);
        return EditorGUILayout.IntField(name, value).ToString();
    }
}
